package org.coco.mybatis.mapping;

import lombok.Data;

@Data
public class ResultMapping {

    private String id;
    private String column;
    private String jdbcType;
    private String property;
    private String javaType;
    private Class<?> jdbcTypeClass;
    private Class<?> javaTypeClass;

    public ResultMapping(String column, String jdbcType, String property, String javaType, Class<?> jdbcTypeClass, Class<?> javaTypeClass) {
        this.column = column;
        this.jdbcType = jdbcType;
        this.property = property;
        this.javaType = javaType;
        this.jdbcTypeClass = jdbcTypeClass;
        this.javaTypeClass = javaTypeClass;
    }
}
